﻿<%@ Page Language="C#" MasterPageFile="~/ExtraOpdrachten.Master" AutoEventWireup="true" CodeBehind="Opdracht7.aspx.cs" Inherits="ExtraOpdrachten.Opdracht7" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>Opdracht 7 - BMI calculator</h1>
    <div style="border: solid 5px red; border-radius: 25px; width: 30%; padding: 25px;">
        <table style="width: 100%;">
            <tr>
                <td>Lengte</td>
                <td>
                    <asp:TextBox ID="txtLength" placeholder="Uw lengte in cm." runat="server" Width="200"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Gewicht</td>
                <td>
                    <asp:TextBox ID="txtWeight" placeholder="Uw gewicht in kg. (1 dec.)" runat="server" Width="200"></asp:TextBox></td>
            </tr>
        </table>
        <br />
        <asp:Button ID="btnCalculateBMI" runat="server" Text="Bereken BMI" OnClick="btnCalculateBMI_Click" /><br />
        <br />
        <asp:Label ID="lblResult" runat="server"></asp:Label><br />
        <br />
    </div>

</asp:Content>


